﻿using SpiderMaster.AspNet.Management;

namespace SpiderMaster.AspNet.TradingSystem
{
    public sealed partial class MemberManagement : Persist<MemberManagementData>
    {
        private MemberManagement()
            : base()
        { try { LoadData(); } catch /* Ignor */ { } }

        private static MemberManagement _Instance;

        /// <summary> Gets the current.
        /// </summary>
        /// <value>The current.</value>
        public static MemberManagement Current { get { return GetInstance(); } }

        /// <summary> Gets a value indicating whether [require registration email activation].
        /// </summary>
        /// <value>
        /// 	<c>true</c> if [require registration email activation]; otherwise, <c>false</c>.
        /// </value>
        public bool RequireRegistrationEmailActivation { get { return Persisted.RequireRegistrationEmailActivation; } }
    }
}